package com.qfedu.ms.constants;

public class Constants {

    //用户信息码
    public static final String USER_CODE_LOGIN_SUCCESS = "1001";  // 用户模块的登录成功
    public static final String USER_CODE_LOGIN_FAIL = "1002";  //账号或密码错误
    public static final String USER_CODE_CAPTCHA_ERROR = "1003"; //验证码错误

    public static final String USER_CODE_RESIT_SUCCESS = "1004";  // 用户注册成功
    public static final String USER_CODE_RESIT_FAIL = "1005";  // 用户注册失败



    public static final String USER_MSG_LOGIN_SUCCESS = "登录成功";
    public static final String USER_MSG_LOGIN_FAIL = "用户名或密码错误";
    public static final String USER_MSG_CAPTCHA_ERROR = "验证码错误";
    public static final String USER_MSG_RESIT_SUCCESS = "注册成功";
    public static final String USER_MSG_RESIT_FAIL = "注册失败，用户名已存在";

    public static final String USER_LOGIN_SESSION_KEY = "loginUser";





    //上传文件地址
    public static final String FILE_UPLOAD_PATH = "/upload";
}
